import Layout from '@/layouts/default/index.vue'
const IFrame = () => import('@/views/sys/iframe/FrameBlank.vue');

export default [
  {
    name: 'iframe',
    path: '/iframe',
    component: Layout,
    redirect: '/iframe/doc',
    meta: {
      title: '外部页面',
      role: ['admin'],
      alwaysShow: true,
      icon: 'menuUsers'
    },
    children: [
      {
        name: 'doc',
        path: 'doc',
        component: IFrame,
        meta: {
          frameSrc: 'http://localhost:8080/',
          role: ['admin'],
          title: '内嵌',
        },
      }
    ],
  }
]
